#ifndef EXPERIMENTPROPERTYUI_H
#define EXPERIMENTPROPERTYUI_H

#include <QObject>
#include <QQmlEngine>
#include <QQuickWidget>
#include <QQmlContext>

class ExperimentPropertyUI : public QQuickWidget
{
    Q_OBJECT
    QML_ELEMENT

signals:
    void nextPage(); // 切换到下一页
    void prevPage(); // 切换到上一页

public:
    ExperimentPropertyUI();
    ~ExperimentPropertyUI();

public:
    QQmlContext* getContext() const; // 获取qmlcontext
    QObject* getRootObject() const; // 获取rootObject

private:
    QObject *rootObj;

};

#endif // EXPERIMENTPROPERTYUI_H
